package routers

import (
	beego "github.com/beego/beego/v2/server/web"
	"go1/controllers"
)

func init() {
	//beego
	beego.Router("/", &controllers.MainController{})
	beego.Router("/test", &controllers.MainController{}, "get:Test")
	beego.Router("/error", &controllers.MainController{}, "get:Error")
}
